package com.yunji.aggregate.model.vo.base;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.vo
 * @Title: BelongStockVO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-10-23 14:54:31      V1.0        HuaAo       新建类
 */
public class BelongStockStatisticsVO {

    @ApiModelProperty("所属单位ID")
    private Long belongId;

    @ApiModelProperty("所属单位名称")
    private String belongName;

    @ApiModelProperty("总库存")
    private BigDecimal allStock = BigDecimal.ZERO;

    @ApiModelProperty("占用库存")
    private BigDecimal frozenStock = BigDecimal.ZERO;

    @ApiModelProperty("不可用库存")
    private BigDecimal disableStock = BigDecimal.ZERO;

    @ApiModelProperty("可用库存")
    private BigDecimal usableStock = BigDecimal.ZERO;

    @ApiModelProperty("库存开关 0-关闭 1-开启")
    private Integer stockStatus;

    public Long getBelongId() {
        return belongId;
    }

    public void setBelongId(Long belongId) {
        this.belongId = belongId;
    }

    public String getBelongName() {
        return belongName;
    }

    public void setBelongName(String belongName) {
        this.belongName = belongName;
    }

    public BigDecimal getAllStock() {
        return allStock;
    }

    public void setAllStock(BigDecimal allStock) {
        this.allStock = allStock;
    }

    public BigDecimal getFrozenStock() {
        return frozenStock;
    }

    public void setFrozenStock(BigDecimal frozenStock) {
        this.frozenStock = frozenStock;
    }

    public BigDecimal getDisableStock() {
        return disableStock;
    }

    public void setDisableStock(BigDecimal disableStock) {
        this.disableStock = disableStock;
    }

    public BigDecimal getUsableStock() {
        return usableStock;
    }

    public void setUsableStock(BigDecimal usableStock) {
        this.usableStock = usableStock;
    }

    public Integer getStockStatus() {
        return stockStatus;
    }

    public void setStockStatus(Integer stockStatus) {
        this.stockStatus = stockStatus;
    }
}